package com.java.simple.smallspring.aop.advice;

import com.java.simple.smallspring.aop.MethodBeforeAdvice;
import java.lang.reflect.Method;

/**
 * @author zhoujunlin
 * @date 2022年09月11日 21:32
 * @desc
 */
public class UserServiceBeforeAdvice implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("before拦截：" + method.getName());
    }
}
